package model

import "time"

type Danmu struct {
	Id        uint      `gorm:"column:id;type:int UNSIGNED;primaryKey;not null;" json:"id"`
	Content   string    `gorm:"column:content;type:varchar(255);not null;" json:"content"`
	CreatedAt time.Time `gorm:"column:created_at;type:datetime(3);not null;" json:"created_at"`
}

func (Danmu) TableName() string {
	return "danmu"
}
